import { typeModule } from '@/utils/bundle'
export default async (data: Wx.Card.Data) => {
  const sprite = await typeModule(data)
  sprite.anchor.set(0.5)
  return sprite
}
